﻿using System;
using System.Web.UI;
using Lib.Controls;
using System.Data;

public partial class App_form_Danh_muc_dm_truong : fpage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ScriptManager.GetCurrent(this).Services.Add(new ServiceReference("~/Service/wht_nsd.svc"));
            DataTable b_dt= ht.Fdt_tt_truong_lke();
            if (Lib.Utilities.LibTable.isNullOrEmtyTable(b_dt))
                return;

            DataRow _row = b_dt.Rows[0];
            MA_TRUONG.Text = _row["ma_truong"].ToString();
            TEN.Text = _row["ten"].ToString();
            sdt.Text = _row["sdt"].ToString();
            diachi.Text = _row["diachi"].ToString();
            email.Text = _row["email"].ToString();
            hieu_truong.Text = _row["hieutruong"].ToString();
            MA_TRUONG.Focus();
        }
    }
}